package com.yxq.mdt.app.modules.socialcontact.adapter;


import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.modules.socialcontact.bean.SocialPersonalHomepageBean;

import java.util.List;

public class HomeSeedingAdapter extends BaseQuickAdapter<SocialPersonalHomepageBean.CommentContentListBean, BaseViewHolder> {
    public HomeSeedingAdapter(int layoutResId, @Nullable List<SocialPersonalHomepageBean.CommentContentListBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, SocialPersonalHomepageBean.CommentContentListBean item) {
        helper.setText(R.id.header, item.getName() + "(" + item.getNum() + "" + ")");
    }

}
